<?php

// $Id$

class TCMS_Content_Publish_Down extends Tangra_Class {
	private $id;
	private $content;
	private $publish_down;
	private $proessed;


	public function set_id($id) {
		tangra_if_not_int_throw_e($id);

		$this->id = $id;
	}


	public function get_id() {
		return $this->id;
	}


	public function set_content($content) {
		tangra_if_not_int_throw_e($content);

		$this->content = $content;
	}


	public function get_content() {
		return $this->content;
	}


	public function set_publish_down($publish_down) {
		if (check_timestamp($publish_down)) {
			$this->publish_down = $publish_down;
		} else {
			throw new Tangra_Module_Exception('Invalid ');
		}
	}


	public function get_publish_down() {
		return $this->publish_down;
	}


	public function set_processed($processed) {
		$this->processed = $processed ? true : false;
	}


	public function get_processed() {
		return $this->processed;
	}
}